package singleton.group_management;

import java.util.ArrayList;

import model.group_management.PhotoAndVDOIsCheckedInGroupFeedItem;
import model.settting.SettingItem;

/**
 * Created by trek2000 on 18/8/2014.
 */
public class GroupManagement {

    private static GroupManagement groupManagement = null;
    private int position_of_group_management_item = 0;
    private int position_of_photo_and_vdo_tab_in_group_feed_item = 0;
    private int position_of_grid_view_of_photo_and_vdo_tab_in_group_feed_item = 0;
    private ArrayList<Integer> mAlPosOfItemCheckedInAddMemberToGroup;
    private ArrayList<Integer> mAlPosOfItemCheckedInAddGroupManager;
    private long group_id_selected;
    private String GROUP_NAME_SELECTED;
    private ArrayList <PhotoAndVDOIsCheckedInGroupFeedItem> mAlPhotoAndVDOIsCheckedInGroupFeed;

    public static GroupManagement getInstance() {
        if (groupManagement == null) {
            groupManagement = new GroupManagement();
        }
        return groupManagement;
    }

    public void setPositionOfGroupManagementItem(int position_of_group_management_item) {
        this.position_of_group_management_item = position_of_group_management_item;
    }

    public void setPositionOfPhotoAndVdoTabInGroupFeedItem(int position_of_photo_and_vdo_tab_in_group_feed_item) {
        this.position_of_photo_and_vdo_tab_in_group_feed_item = position_of_photo_and_vdo_tab_in_group_feed_item;
    }

    public void setPositionOfGridViewOfPhotoAndVdoTabInGroupFeedItem(int position_of_grid_view_of_photo_and_vdo_tab_in_group_feed_item) {
        this.position_of_grid_view_of_photo_and_vdo_tab_in_group_feed_item = position_of_grid_view_of_photo_and_vdo_tab_in_group_feed_item;
    }

    public void setmAlPosOfItemCheckedInAddMemberToGroup(ArrayList <Integer> mAlposOfItemCheckedInAddMemberToGroup) {
        this.mAlPosOfItemCheckedInAddMemberToGroup = mAlposOfItemCheckedInAddMemberToGroup;
    }

    public void setmAlPosOfItemCheckedInAddGroupManager(ArrayList <Integer> mAlposOfItemCheckedInAddGroupManager) {
        this.mAlPosOfItemCheckedInAddGroupManager = mAlposOfItemCheckedInAddGroupManager;
    }

    public void setGroupIdSelected(long group_id_selected) {
        this.group_id_selected = group_id_selected;
    }

    public void setGroupNameSelected (String groupNameSelected) {
        this.GROUP_NAME_SELECTED = groupNameSelected;
    }

    public void setmAlPhotoAndVDOIsCheckedInGroupFeed (ArrayList <PhotoAndVDOIsCheckedInGroupFeedItem> mAlphotoAndVDOIsCheckedInGroupFeed) {
        this.mAlPhotoAndVDOIsCheckedInGroupFeed = mAlphotoAndVDOIsCheckedInGroupFeed;
    }

    public int getPositionOfGroupManagementItem() {
        return position_of_group_management_item;
    }

    public int getPositionOfPhotoAndVdoTabInGroupFeedItem() {
        return position_of_photo_and_vdo_tab_in_group_feed_item;
    }

    public int getPositionOfGridViewOfPhotoAndVdoTabInGroupFeedItem() {
        return position_of_grid_view_of_photo_and_vdo_tab_in_group_feed_item;
    }

    public ArrayList <Integer>  getmAlPosOfItemCheckedInAddMemberToGroup() {
        return mAlPosOfItemCheckedInAddMemberToGroup;
    }

    public ArrayList <Integer>  getmAlPosOfItemCheckedInAddGroupManager() {
        return mAlPosOfItemCheckedInAddGroupManager;
    }

    public long getGroupIdSelected() {
        return group_id_selected;
    }

    public String getGroupNameSelected() {
        return GROUP_NAME_SELECTED;
    }

    public ArrayList <PhotoAndVDOIsCheckedInGroupFeedItem> getmAlPhotoAndVDOIsCheckedInGroupFeed() {
        return  mAlPhotoAndVDOIsCheckedInGroupFeed;
    }
}

